package com.its.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author huguangjun
 * @className OrderMain83
 * @date 2021/1/11
 * @desc 17:45
 */
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
// 激活feign并开启
@EnableFeignClients
// 激活断路器
@EnableHystrix
@EnableDiscoveryClient
public class OrderMain83 {
    public static void main(String[] args) {
        SpringApplication.run(OrderMain83.class, args);
    }
}
